<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>删帖登录</title>

<style type="text/css">
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	overflow:hidden;
}
.STYLE3 {font-size: 12px; color: #adc9d9; }

</style>
<script language="javascript">
function onsubmit1(){
	if(document.getElementById("name").value==''){
		document.getElementById("divMsg").innerHTML="请输入用户名！";
		return false;
	}
	if(document.getElementById("password").value==''){
		document.getElementById("divMsg").innerHTML="请输入密码！";
		return false;
	}
	form1.submit();
}
function onreset1(){
	document.getElementById("name").value='';
	document.getElementById("password").value='';
	document.getElementById("divMsg").innerHTML='';
}
</script>
</head>
<body>
   <form id="form1" name="form1" action="${pageContext.request.contextPath}/Login" method="post">
<table width="100%"  height="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td bgcolor="#1075b1">&nbsp;</td>
  </tr>
  <tr>
    <td height="608" background="images/login_03.gif"><table width="847" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="318" background="images/login_04.gif">&nbsp;</td>
      </tr>
      <tr>
        <td height="84"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="381" height="84" background="images/login_06.gif">&nbsp;</td>
            <td width="162" valign="middle" background="images/login_07.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="44" height="24" valign="bottom"><div align="right"><span class="STYLE3">用户</span></div></td>
                <td width="10" valign="bottom">&nbsp;</td>
                <td height="24" colspan="2" valign="bottom">
                  <div align="left">
                    <input type="text" name="name" id="name" style="width:100px; height:17px; background-color:#87adbf; border:solid 1px #153966; font-size:12px; color:#283439; ">
                  </div></td>
              </tr>
              <tr>
                <td height="24" valign="bottom"><div align="right"><span class="STYLE3">密码</span></div></td>
                <td width="10" valign="bottom">&nbsp;</td>
                <td height="24" colspan="2" valign="bottom"><input type="password" name="password" id="password" style="width:100px; height:17px; background-color:#87adbf; border:solid 1px #153966; font-size:12px; color:#283439; "></td>
              </tr>
              <!-- <tr>
                <td height="24" valign="bottom" colspan="4" align="center"><div id="divMsg" style="color:red; font-size:12px;">登陆名或密码错误！</div></td>
              </tr> -->
              <tr></tr>
            </table></td>
            <td width="26"><img src="${pageContext.request.contextPath}/images/login_08.gif" width="26" height="84"></td>
            <td width="67" background="${pageContext.request.contextPath}/images/login_09.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="25"><div align="center"><a href="javascript:void(0);" onClick="onsubmit1();"><img src="${pageContext.request.contextPath}/images/dl.gif" width="57" height="20" border="0"></a></div></td>
              </tr>
              <tr>
                <td height="25"><div align="center"><a href="javascript:void(0);" onClick="onreset1();"><img src="${pageContext.request.contextPath}/images/cz.gif" width="57" height="20" border="0"></a></div></td>
              </tr>
            </table></td>
            <td width="211" background="${pageContext.request.contextPath}/images/login_10.gif">&nbsp;</td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height="206" background="${pageContext.request.contextPath}/images/login_11.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td bgcolor="#152753">&nbsp;</td>
  </tr>
</table>
</form>
</body>
</html>